package pojo;

import hello.HelloConfig;
import hello.HelloRedisImpl;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(PojoConfig.class);

        PojoRedisImpl bean = context.getBean(PojoRedisImpl.class);
        // bean.hello();
        bean.hello2();
        //bean.hello3();
    }
}
